body{
    background-color: rgb(243, 244, 245);
}
.topTab{
    display: flex;
    align-items: center;
    width: 100%;
    height: 3.925rem;
    padding: 0 .2rem;
    box-sizing: border-box;
    background: url("https://h2.appsimg.com/b.appsimg.com/upload/mst/2021/10/27/158/b2e1419d83806bf957298f90204d9cee.jpg!75.webp");
    background-size: 100%;
    ul{
        display: flex;
        width: 100%;
        height: 3.075rem;
        box-sizing: border-box;
        position: relative;
        top: .05rem;
        li{
            width: 33.3333%;
            height: 100%;
            color: #333;       
            padding: 0 .2rem;
            box-sizing: border-box;
            text-align: center;
            .tabBox{
                background: rgb(255, 255, 255); 
                border-color: rgb(255, 255, 255);
                padding: .25rem 0 .2rem 0;
                box-sizing: border-box;
                .img{
                    display: inline-block;
                    width: 3.5rem;
                    height: 1.5rem; 
                    -webkit-mask-box-image-slice: initial;
                    -webkit-mask-box-image-width: initial;
                    -webkit-mask-box-image-outset: initial;
                    -webkit-mask-box-image-repeat: initial;
                }
                .first{
                    background: rgb(255, 255, 255);
                    -webkit-mask-box-image-source: url("https://h2.appsimg.com/b.appsimg.com/upload/mst/2021/10/27/65/ef536b60429d846841a8c2d81b914afb.png!75.webp");
                }
                .second{
                    background: rgb(0, 0, 0);
                    -webkit-mask-box-image-source: url("https://h2.appsimg.com/b.appsimg.com/upload/mst/2021/10/27/30/750524f2c828411d0aa744e04e3718db.png!75.webp");
                }
                .three{
                    background: rgb(0, 0, 0);
                    -webkit-mask-box-image-source: url("https://h2.appsimg.com/b.appsimg.com/upload/mst/2021/10/27/79/212f92afa37ea01691077a28315454d1.png!75.webp");
                }
                p{
                    height: 0.925rem;
                    width: 100%;
                    text-align: center;
                    overflow: hidden;
                    font-size: .6rem;
                    color: rgb(0, 0, 0);
                    position: relative;
                    top: -.15rem;
                }
            } 
            .active{
                background: rgb(0, 0, 0);
                position: relative;
                p{
                    color: #fff;
                }
                &::after{
                    content: "";
                    display: block;
                    border-top: .25rem solid #000;
                    border-left: .25rem solid transparent;
                    border-right: .25rem solid transparent;
                    position: absolute;
                    bottom: -.25rem;
                    left: 50%;
                    transform: translateX(-50%);
                }
            }
        }
    }
}
.topImg{
    width: 100%;
    height: 10.25rem;
    img{
        width: 100%;
        height: 100%;
    }
}
.topinfo{
    width: 100%;
    height: 6.5rem;
    position: relative;
    img{
        width: 100%;
        height: 100%;
    }
    .list{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 4.175rem;
        height: 5.3rem;
        background: #fff;
        border-radius: .2rem;
        img{
            width: 100%;
            height: 4.175rem;
            border-top-left-radius: .2rem;
            border-top-right-radius: .2rem;
        }
        p{
            width: 100%;
            height: 1.1rem;
            line-height: 1.1rem;
            font-weight: bold;
            white-space: nowrap;
            color: rgb(34, 34, 34);
            text-align: center;
            font-size: .7rem;
        }
        &:nth-of-type(1){
            left: 4.5%;
        }
        &:nth-of-type(2){
            left: 27.5%;
        }
        &:nth-of-type(3){
            left: 50.5%;
        }
        &:nth-of-type(4){
            left: 73.5%;
        }
    }
}
.imgOne{
    width: 100%;
    height: auto;
    img{
        width: 100%;
        height: auto;
    }
}
.selected{
    width: 100%;
    height: auto;
    display: flex;
    .selectedLeft{
        width: 2.5rem;
        height: auto;
        display: inline-block;
        ul{
            width: 100%;
            height: auto;
            li{
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                height: 3.2rem;
                color: #585c64;
                font-size: .6rem;
                background: #fff;
                box-sizing: border-box;
                text-align: center;
            }
            .active{
                position: relative;
                background: transparent;
                &::before{
                    content: "";
                    display: inline-block;
                    background: #F03867;
                    width: .1rem;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    z-index: 99;
                }
            }
        }
    }
    .selecterRight{
        width: 16.25rem;
        height: auto;
        padding: 0 .4rem;
        box-sizing: border-box;
        .title{
            margin-top: .65rem;
            width: 100%;
            height: 1.5rem;
            line-height: 1.5rem;
            text-align: center;
            span{
                font-size: .8rem;
                position: relative;
                &:nth-of-type(1), &:nth-of-type(3){
                    display: inline-block;
                    width: 1rem;
                    height: .8rem;
                    box-sizing: border-box;
                    transform: rotate(-45deg);
                }
                &:nth-of-type(1)::before , &:nth-of-type(3)::before{
                    display: block;
                    content: '';
                    position: absolute;
                    width: 0.5rem;
                    height: 0.3rem;
                    border-radius: 0.3rem;
                    top: 0;
                    left: 0.1rem;
                    background: #C80939;
                }
                &:nth-of-type(1)::after,&:nth-of-type(3)::after{
                    display: block;
                    content: '';
                    position: absolute;
                    width: 1rem;
                    height: .5rem;
                    border-radius: .56rem;
                    bottom: -0.1rem;
                    left: 0;
                    background: #F03867;
                }
            }
            
        }
        .lists{
            margin-top: .65rem;
            width: 100%;
            height: auto;
            .list{
                width: 100%;
                height: auto;
                background: #fff;
                img{
                    width: 100%;
                    height: auto;
                }
                .listInfo{
                    width: 100%;
                    height: 2.35rem;
                    padding: .525rem .45rem .525rem .525rem;
                    box-sizing: border-box;
                    p{
                        display: flex;
                        align-items: center;
                        width: 14.45rem;
                        height: 1.3rem;
                        span{
                            display: inline-block;
                            width: 10.6rem;
                            height: .8rem;
                            line-height: .8rem;
                            font-size: .75rem;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            box-sizing: border-box;
                        }
                        button{
                            font-size: .6rem;
                            height: 1.3rem;
                            text-align: center;
                            color: #fff;
                            background-color: #F03867;
                            padding: 0 .3rem;
                            border-radius: .05rem;
                            margin-left: .75rem;
                            box-sizing: border-box;
                        }
                    }
                }
            }
            .list_one{
                width: 7.5rem;
                height: 12.8rem;
                background: #fff;
                margin-bottom: .5rem;
                border-radius: .3rem;
                img{
                    width: 7.5rem;
                    height: auto;
                    border-top-left-radius: .3rem;
                    border-top-right-radius: .3rem;
                }
                .listInfo{
                    width: 100%;
                    height: auto;
                    padding: 0 .4rem;
                    box-sizing: border-box;
                    .price{
                        overflow: hidden;
                        white-space: nowrap;
                        margin-top: .1rem;
                        .CouponPrice{
                            height: .8rem;
                            line-height: .8rem;
                            font-size: .6rem;
                            color: #fff;
                            border-radius: .1rem;
                            padding: 0 .1rem;
                            text-align: center;
                            background-image: linear-gradient(270deg,#f657a1,#f83b6b);
                        }
                        .now{
                            font-size: .8rem;
                            font-weight: 700;
                            position: relative;
                            top: .1rem;
                            left: -.2rem;
                        }
                        .before{
                            font-size: .6rem;
                            color: #98989f;
                            text-decoration: line-through;
                            position: relative;
                            top: .05rem;
                            left: -.3rem;
                        }
                    }
                    .titles{
                        font-size: .6rem;
                        width: 100%;
                        height: 1.55rem;
                        color: #585c64;
                        letter-spacing: 0;
                        overflow: hidden;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        text-overflow: ellipsis;
                        margin-top: .4rem;
                    }
                    .Coupons{
                        width: 100%;
                        height: .8rem;
                        line-height: .8rem;
                        display: flex;
                        align-items: center;
                        margin-top: .4rem;
                        span{
                            display: inline-block;
                            font-size: .6rem;
                            padding: 0.1rem 0.2rem;
                            border-radius: 0.1rem;
                            border: 0.05rem solid #f03867;
                            transform: scale(.8);
                            box-sizing: border-box;
                            position: relative;
                            left: -.2rem;
                        }
                        span:nth-of-type(2){
                            left: -.4rem;
                        }
                        .red{
                            color: #f03867;
                            border-color: #f03867;   
                        }
                        .green{
                            color: #32b444;
                            border-color: #32b444;   
                        }
                    }
                    .title_s{
                        width: 100%;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        color: #585c64;
                        font-size: .6rem;
                        margin-top: .3rem;
                    }
                    .info{
                        font-size: .6rem;
                        color: #98989f;
                        width: 100%;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        margin-top: .3rem;
                    }
                    .info + .Coupons{
                        margin-top: .15rem;
                    }
                }
            }
        }
    }
}
.flex{
    display: flex;
    flex-wrap: wrap;
    .list_one:nth-of-type(odd){
        margin-right: .4rem;
    }
}
.goTop {
    position: fixed;
    bottom: 1rem;
    right: .4rem;
    width: 2.2rem;
    height: 2.2rem;
    background-color: rgba(25,29,38,.95);
    border-radius: 50%;
    .icon-jiantou_xiangshang{
        font-size: 1.2rem;
        margin-top: .6rem;
        margin-left: .45rem;
        display: inline-block;
        color: #fff;
    }
}
@media screen and (min-width:768px){
    .container{
        width: 632px;
        margin: auto;
    }
}